<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>新闻发布系统</title>
<style>
	body{margin:0;font-family:'Microsoft YaHei';background:url('./images/bg.png');}
	.box{width:1001px;margin:0 auto;}
	.top{height:179px;background:url('./images/top.jpg');position:relative;}
	.title{padding-left:60px;color:#000;font-size:40px;letter-spacing:5px;line-height:160px;}
	.nav{position:absolute;right:0;bottom:6px;}
	.nav a{color:#000;padding:6px 12px;background:#9cb945;text-decoration:none;}
	.nav a:hover{color:#fff;}
	.main{padding-bottom:10px;background:#fff;color:#333;}
	.news-title{font-size:20px;text-align:center;padding:15px 0;width:70%;margin:0 auto;border-bottom:1px solid #999;font-weight:bold;}
	.news-time{text-align:center;margin-top:10px;}
	.news-content{width:70%;margin:20px auto;}
</style>
</head>
<body>
<div class="box">
	<div class="top">
		<div class="title">新闻发布系统</div>
		<div class="nav">
			<a href="news.php">返回列表</a>
		</div>
	</div>
	<div class="main">
		<!-- 新闻标题 -->
		<div class="news-title">
			<?=$data[1]?>
		</div>
		<!-- 发布时间 -->
		<div class="news-time">
			<?=$data[3]?>
		</div>
		<!-- 新闻内容 -->
		<div class="news-content">
			<?=$data[2]?>
		</div> 
	</div>
</div>
</body>
</html>